<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">

    </div>

</body>

<script src="js/vue.js"></script>
<script>
    // MVVM ----> Model : 数据模型 ,  Vie: 视图 , ViewModel 
    new Vue({
        el: "#app",
        data: {
            url: "https://www.itcast.cn",
            age: 55,
            addrs: ['北京', '上海', '深圳']
        },
        methods: {
            handle: function () {
                alert("我被点击了....");
            }
        }

    })
</script>

</html>